package cn.gok.oop;

public class Car {
    private int price;
    private String name;

    public void show(){
        System.out.println("价格:"+price+",名称:"+name);
    }

    public Car() {
    }

    public Car(int price, String name) {
        this.price = price;
        this.name = name;
    }
}
